/***
    Document   : style
    Created on : 11.02.2011, 08:29:51
    Author     : eric, felix
    Description:
        Styles for TMA
***/

/*** Accordions  ***/
.accordion_toggle {
    display: block;
    background: #003d4c;
    height: 30px;
    padding: 0 10px 0 10px;
    line-height: 30px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    outline: none;
    font-size: 12px;
    border-bottom: 1px solid #cde99f;
    cursor: pointer;
    margin: 0 0 0 0;
}

.accordion_toggle_active {
    background: #003d4c;
    color: #ffffff;
    border-bottom: 1px solid #f68263;
}

.accordion_content {
    background-color: #ffffff;
    color: #003d4c;
    overflow: hidden;
}

.accordion_content h2 {
    margin: 15px 0 5px 10px;
    color: #0099FF;
}

.accordion_content p {
    line-height: 150%;
    padding: 5px 10px 15px 10px;
}

.vertical_accordion_toggle {
    display: block;
    height: 30px;
    background: #AA3000;
    padding: 0 10px 0 10px;
    line-height: 30px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    outline: none;
    font-size: 12px;
    border-bottom: 1px solid #cde99f;
    cursor: pointer;
    margin: 0 0 0 0;
}

.vertical_accordion_toggle_active {
    background: #AA3000;
    color: #ffffff;
    border-bottom: 1px solid #f68263;
}

.vertical_accordion_content {
    background-color: #ffffff;
    color: #AA3000;
    padding: 10px;
    overflow: hidden;
}

.vertical_accordion_content h2 {
    margin: 15px 0 5px 10px;
    color: #0099FF;
}

.vertical_accordion_content p {
    line-height: 150%;
    padding: 5px 10px 15px 10px;
}

#vertical_nested_container {
    margin:0px;
    width: 100%;
}

#vertical_container {
    margin:0px;
    width: 620px;
    border: 3px #CCCCCC solid;
    float:left;
}

/*** Allgemeiner Style ***/

*{
    margin:0;
    padding:0;
}

body {
	background: #003d4c;
	color: #fff;
	font-family:arial,sans-serif;
	font-size:90%;
	margin: 0;
}
a {
	color: #fff;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	color: #fff;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
	margin-bottom:0.5em;
}
h1 {
	color: #ffffff;
        font-size:200%;
        font-style: normal;
}
h2 {
	color: #e32;
	font-family:arial, sans-serif;
        font-size: 120%;
        font-variant: small-caps;
}
h3 {
	color: #fff;
	font-family:arial, sans-serif;
        font-size: 120%;
}
h4 {
	color: #993;
	font-weight: normal;
}
ul, li {
	margin: 0 12px;
}

/*** Layout ***/
#container {
        margin: 1em auto;
        width: 960px;
        text-align: left;
        background-color: #003542;
        border: 1px solid black;
        padding-bottom: 10px;
}

#main {
    height: 300px;
}

#header{
	padding: 10px 20px;
        height: 110px;
}
#header h1 {
	line-height:20px;
	background: #003d4c;
	color: #fff;
	padding: 0px 10px;
        height:70px;
        padding-top:40px;
        text-align: right;
}
#header h1 a {
	color: #fff;
	background: #003d4c;
	font-weight: normal;
	text-decoration: none;
        vertical-align: bottom;
}
#header h1 a:hover {
	color: #fff;
	background: #003d4c;
	text-decoration: underline;
        vertical-align: bottom;
}
#content{
	background: #fff;
	clear: both;
	color: #333;
	padding: 10px 20px 40px 20px;
	overflow: auto;
}

#footer {
    clear: both;
    height: 20px;
    background-color: #003542;
    text-align: center;
}

#contents {
    padding-left: 10px;
    margin-left:10px;
}

/*** Tabellen ***/
table {
	background: #003d4c;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 920px;
}
th {
	border:0;
	border-bottom:2px solid #003542;
	text-align: left;
	padding:4px;
        color: #FFF;
        background-color: #003d4c;
}
th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
        color: #FFF;
}


td a {
	color: #003d4c;
	text-decoration: underline;
	font-weight: bold;
}
td a:hover {
	color: #003d4c;
	text-decoration:none;
}

table tr td {
        background-color: #003d4c;
        color: #ffffff;
	padding: 6px;
	text-align: left;
	vertical-align: top;
	border-bottom:1px solid #ddd;
}
table tr:nth-child(2n) td {
         background: #003d4c;
}
table .altrow td {
	background: #f5f5f5;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
table td.actions a {
	margin: 0px 6px;
	padding:2px 5px;
}

/*** Listen ***/
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 100%;
}
dl .altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/** Formulare **/

form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 95%;
}

fieldset {
	border: 1px solid #ccc;
	margin-bottom: 1em;
        padding-left: 20px;
        padding-top: 20px;
        padding-bottom: 16px;
        width: 898px;       
}

fieldset legend {
        background-color: #003542;
	color: #fff;
	font-size: 160%;
	font-weight: bold;
}

fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}

fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}

form .input {
	color: #444;
}
form .required {
	font-weight: bold;
}
form .required label:after {
	color: #e32;
	content: '*';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}
label {
	display: block;
	font-size: 110%;
	margin-bottom:3px;
        color: #fff;
}
input, textarea {
	clear: both;
	font-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 1%;
	width:80%;
}
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
div.checkbox label {
	display: inline;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 110%;
	width: auto;
}
form .submit input[type=submit] {
	background:#62af56;
	border-color: #2d6324;
	color: #000;
	text-shadow: #8cee7c 0px 1px 0px;
}
form .submit input[type=submit]:hover {
	background:#4ca83d;
}

/*** Fehler- und Erfolgsbox ***/
#error {
	background-color: #e32;
	color: #fff;
        margin-top: 5px ;
        clear: left;
	color: #fff;
	font-size: 150%;
	font-weight: bold;
	margin-left: 20px;
        margin-right: 10px;
	padding-left: 10px;
        text-align:center;
        width: 400px;
}

#success {
	background: green;
	color: #fff;
        margin-top: 5px ;
        clear: left;
	color: #fff;
	font-size: 150%;
	font-weight: bold;
	margin-left: 20px;
        margin-right: 10px;
	padding-left: 10px;
        text-align:center;
        width: 400px;
}

/*** Menü - ADxMenü
 *
 * angelehnt an http://www.webresourcesdepot.com/drop-down-menu-simplified-adxmenu/
 */

/* alte Stylelistings zurücksetzen */
.menu, .menu ul {
    margin: 0;
    padding: 0;
    border: 0;
    list-style-type: none;
    display: block;
}

.menu li {
    font-size:90%;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    float: left;
    position: relative;
    z-index: 5;
}

.menu li:hover {
    /*** aktives Element steht über allen anderen ***/
    z-index: 10000;
    /*** IE7 Bug verhindern ***/
    white-space: normal;
}

.menu li li {
    /*** jedes Listenelement in eigener Zeile ***/
    float: none;
}

.menu ul {
    /*** Anfangs jedes Untermenü verstecken ***/
    visibility: hidden;
    position: absolute;
    z-index: 10;
    /*** Verstecke Elemente links oben auf der Seite, so lange sie versteckt
     * sind und um Scrollbalken zu verhindern ***/
    left: 0;
    top: 0;
}

.menu li:hover>ul {
    /*** Submenü bei hover einblenden ***/
    visibility: visible;
    /*** 1. Ebene unter parent items anzeigen ***/
    top: 100%;
}

.menu li li:hover>ul {
    /*** Zweite Ebene rechts von den übergeordneten Items anzeigen ***/
    top: 0;
    left: 100%;
}

/*** floaten beenden ***/
.menu:after, .menu ul:after {
    content: ".";
    height: 0;
    display: block;
    visibility: hidden;
    overflow: hidden;
    clear: both;
}

/*** IE7 float clear: ***/
.menu, .menu ul {	
    min-height: 0;
}

.menu ul {
    background-image: url(empty.gif);	
    padding: 10px 30px 30px 30px;
    margin: -10px 0 0 -30px;
}
.menu ul ul {
    padding: 30px 30px 30px 10px;
    margin: -30px 0 0 -10px;
}

/*** Menü - optionaler Teil ***/

.menu, .menu ul li {
    color: #eee;
    background: #003d4c;
}

.menu ul {
    width: 11em;
}

.menu a {
    text-decoration: none;
    color: #eee;
    padding: .4em 1em;
    display: block;
    position: relative;
}

.menu a:hover, .menu li:hover>a {
    color: #fc3;
}

/*** Rahmen um die Listenelemente ***/
.menu li li {	
    border: 1px solid #ccc;
}

/*** Kein Rahmen ***/
.menu ul>li + li {
    border-top: 0;
}

.menu li li:hover>ul {
    top: 5px;
    left: 90%;
}

.menu>li:first-child>a, .menu li + li + li li:first-child>a {
    color: #FFF;
}